package com.yuanfengerp.basicInfoManage.logisticscompany.service;

import com.yuanfengerp.basicInfoManage.logisticscompany.moudel.LogisticsCompanyInfo;
import com.yuanfengerp.publicUtil.Result;
import org.apache.ibatis.annotations.Param;
//import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

public interface ILogisticsCompanyService {
    Result<String> deleteLogisticsCompanyInfo(Integer logistics_companies_ID);
    Result<String> insertLogisticsCompanyInfo(LogisticsCompanyInfo logisticsCompanyInfo);
    Result<List<LogisticsCompanyInfo>> selectAllLogisticsCompanyInfo(@Param("pageSize") Integer pageSize, @Param("pageNum") Integer pageNum);
    Result<List<LogisticsCompanyInfo>> selectLogisticsCompanyInfo(@Param("logistics_companies_ID") Integer logistics_companies_ID,
                                                                         @Param("logistics_companies_name") String logistics_companies_name,
                                                                         @Param("logistics_companies_state") Integer logistics_companies_state);
    Result<String> updateLogisticsCompanyInfo(LogisticsCompanyInfo logisticsCompanyInfo);
}
